package com.bins.dentist.clinic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author bins
 * @since 2023-02-20 20:53:31
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_user_group")
@ApiModel(value = "UserGroupEntity对象", description = "")
public class UserGroupEntity {

    @ApiModelProperty("分组id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("分组编码")
    @TableField("group_code")
    private String groupCode;

    @ApiModelProperty("分组名称")
    @TableField("group_name")
    private String groupName;

    @TableField("sort")
    private Integer sort;

    @ApiModelProperty("1 已删除")
    @TableField("is_del")
    private Integer isDel;

    @ApiModelProperty("创建人")
    @TableField("create_by")
    private Long createBy;

    @ApiModelProperty("修改人")
    @TableField("update_by")
    private Long updateBy;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("update_time")
    private LocalDateTime updateTime;


}
